package com.sanerzone.smscenter.biz.VerifyInterface.data;

import com.sanerzone.smscenter.biz.entity.SmsGateway;
import com.sanerzone.smscenter.biz.entity.SmsGatewayGroupRel;

import java.util.ArrayList;
import java.util.List;

public class Sort {
    //这个分组对应的全部关系
    private List<SmsGatewayGroupRel> smsGatewayGroupRelList=new ArrayList<>( );
    //这个分组所对应要发的号码
    private StringBuffer sb;
    //属于的groupid
    private String groupId;
    //最终选出的网关
    private SmsGateway smsGateway;
    //运营商类型
    private String phoneType;
    //地区
    private String area;

    public String getPhoneType() {
        return phoneType;
    }

    public void setPhoneType(String phoneType) {
        this.phoneType = phoneType;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public SmsGateway getSmsGateway() {
        return smsGateway;
    }

    public void setSmsGateway(SmsGateway smsGateway) {
        this.smsGateway = smsGateway;
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public Sort(List<SmsGatewayGroupRel> smsGatewayGroupRelList, StringBuffer sb,String groupId,String phoneType,String area) {
        this.smsGatewayGroupRelList = smsGatewayGroupRelList;
        this.sb = sb;
        this.groupId=groupId;
        this.phoneType=phoneType;
        this.area=area;
    }
    public Sort(){}

    public Sort(StringBuffer sb){
        this.sb=sb;
    }

    public List<SmsGatewayGroupRel> getSmsGatewayGroupRelList() {
        return smsGatewayGroupRelList;
    }

    public void setSmsGatewayGroupRelList(List<SmsGatewayGroupRel> smsGatewayGroupRelList) {
        this.smsGatewayGroupRelList = smsGatewayGroupRelList;
    }

    public StringBuffer getSb() {
        return sb;
    }

    public void setSb(StringBuffer sb) {
        this.sb = sb;
    }
}
